<script setup>
import { ref } from 'vue'
const active = ref(null)
const steps = ref([{ label: '编辑' }, { label: '提交' }, { label: '审核' }, { label: '展示' }])
</script>

<template>
  {{ active }}
  <AlexSelect v-model="active" placeholder="不是用插槽">
    <AlexOption v-for="(item, index) in steps" :key="index" :label="item.label" :value="index" />
  </AlexSelect>

  <AlexSelect v-model="active" placeholder="使用插槽">
    <AlexOption v-for="(item, index) in steps" :key="index" :label="item.label" :value="index">
      {{ item.label }}
    </AlexOption>
  </AlexSelect>
</template>
